package com.example.common.domain.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.common.enums.GenderStatus;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.io.Serializable;

@Data
@Entity
@Table(name = "teacher")
public class Teacher  {
    @Id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    private String age;
    private String name;
    private String department;  //学院

    private GenderStatus gender;
    private String email;//邮箱
    private Integer deleted; // 0:未删除, 1:已删除(逻辑删除)
}
